/* 
 * File:   timer.h
 * Author: monkey
 *
 * Created on November 18, 2011, 3:02 PM
 */

/* 
 * File:   timer.h
 * Author: monkey
 *
 * Created on November 18, 2011, 3:00 PM
 */

#ifndef TIMER_H
#define	TIMER_H
#include "timer.h"
#include <time.h>

class timer {
private:
    time_t t;
    tm* s_time;
public:
    timer();
    //timer(const timer& orig);
    virtual ~timer();


    int get_current_year();
    int get_current_month();
    int get_current_day();
    int get_current_hour();
    int get_current_minute();
    int get_current_second();
    
    char* get_current_date();
    
};

#endif	/* TIMER_H */


